//判断昵称是否为空

class utils{

  static String getNickNmae(String? name){
      if(null == name || name.isEmpty){
        return "昵称";
      }else{
         return name;
      }
  }
}